package com.artwork.service;

import com.artwork.model.Address;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/8$ 16:29$
 * @Description
 * @Param $
 * @Return $
 */
public interface AddressService {

    List<Address> getMyAddress(int userId);

    int newAddress(Address address);

    int updateAddressType(int id,Integer type);

    int updateAddressType(Address address);

    Address getAddressById(int id);

    int delete(int id);
}
